<?php // $Id: page.tpl.php,v 1.25 2008/01/24 09:42:53 Leo Exp $?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $language->language ?>" xml:lang="<?php print $language->language ?>" dir="<?php print $language->dir ?>">
<head>
	<title><?php print $head_title ?></title>
	<meta http-equiv="Content-Style-Type" content="text/css" />
	
	<?php print $head ?>
	<?php print $styles ?>
	<?php print $scripts ?>
	
	<script type="text/javascript" src="<?php print base_path().path_to_theme() ?>/js/jquery-1.3.2.min.js"></script>
	
	<script type="text/javascript" src="<?php print base_path().path_to_theme() ?>/js/cufon-yui.js"></script>
	<script type="text/javascript" src="<?php print base_path().path_to_theme() ?>/js/Futura_BdCn_BT_400.font.js"></script>
	<script type="text/javascript" src="<?php print base_path().path_to_theme() ?>/js/cufon-replace.js"></script>
	
</head>
<body id="body">

	<div class="main">
		<div class="main-width">
		
			<div class="border-top"><div class="corner-left-top"><div class="corner-right-top">
		
				<div class="main-bgr">
					<div class="logo">
						<div class="indent">
							
							<?php if ($logo) : ?>
								<h1><a href="<?php print $front_page ?>" title="<?php print t('Home') ?>"><img src="<?php print($logo) ?>" alt="<?php print t('Home') ?>" /></a></h1>
							<?php endif; ?>
							
							<?php if ($site_name) : ?>
								<h1 class="site-name"><a href="<?php print $front_page ?>" title="<?php print t('Home') ?>"><?php print $site_name ?></a></h1>
							<?php endif; ?>
							
							<?php if ($mission != ""): ?>
								<div id="mission"><?php print $mission ?></div>
							<?php endif; ?>
	
						</div>
					</div>
					
					<div class="header">
						
						<?php if (isset($secondary_links)) : ?>
							<div class="secondary-menu">
								<div class="menu-left"><div class="menu-right">
									<?php print theme('links', $secondary_links, array('class' => '')) ?>
								</div></div>
							</div>
						<?php endif; ?>
						
						<div class="search">
							<div class="indent">
								<?php if ($search_box): print $search_box;  endif; ?>
							</div>
						</div>
						
						<?php if (isset($primary_links)) : ?>
							<div class="menu">
								<div class="menu-left"><div class="menu-right">
									<?php print theme('links', $primary_links, array('class' => '')) ?>
								</div></div>
							</div>
						<?php endif; ?>
						
						<div class="slogan">
							<?php if ($custom != ""): ?>
								<div id="custom" class="custom">
									<?php print $custom?>
								</div>
							<?php endif; ?>	
							
							<h2><?php if ($site_slogan != ""): ?><?php print $site_slogan?><?php endif; ?></h2>
							
						</div>
						
					</div>
		
					<div class="content">
						
						<?php if ($left != ""): ?>
							<div class="column-left">
								<?php print $left?>
							</div>
						<?php endif; ?>
														
						<div class="column-center">
							<?php if ($tabs): print '<div id="tabs-wrapper" class="clear-block">'; endif; ?>
							<?php if ($title && $_SERVER['REQUEST_URI'] != '/news'): print '<h2'. ($tabs ? ' class="with-tabs title"' : '') .'>'. $title .'</h2>'; endif; ?>
							
							<?php if ($tabs): print '<ul class="tabs primary">'. $tabs .'</ul></div>'; endif; ?>
							<?php if ($tabs2): print '<ul class="tabs secondary">'. $tabs2 .'</ul>'; endif; ?>
							
							<?php if ($show_messages && $messages != ""): ?>
							
							<?php print $messages ?>
							
							<?php endif; ?>
							
							<?php if ($help != ""): ?>
								<div id="help"><?php print $help ?></div>
							<?php endif; ?>
							
							<!-- start main content -->
							<?php print $content; ?>
						</div>
							
					</div>
			
				</div>
			
			</div></div></div>
		
		</div>
		
		<div class="footer">
			<div class="width">
				<div class="indent">
					
					<?php if ($footer_message || $footer) : ?>
						<?php print $footer_message;?> &nbsp;Check out other <a href="http://www.templatemonster.com/drupal-themes.php" title="Drupal themes" target="_blank">awesome Drupal templates</a> on TemplateMonster.

					<?php endif; ?>
					
				</div>
			</div>
		</div>
	
	</div>
	
	<?php print $closure;?>
	
	<script type="text/javascript">Cufon.now();</script>
	
</body></html>